package com.sz.biz.logistics.core.entity;

import com.sz.biz.common.CommonAreaEntity;
import com.sz.common.base.entity.EntityBase;

/**
 * Function: 报价方案起点，各种费用类型的起点表可以共用. <br>
 * Date: 2017年03月07日 14:42 <br>
 * Author: wentao.chang
 */
public class QuotationStart extends EntityBase implements CommonAreaEntity {
    private static final long serialVersionUID = -654990035956020481L;

    /**
     * id
     */
    private int id;

    /**
     * 报价方案的Id
     */
    private int quotationId;
    /**
     * 分区详细类型，1、国家 2、中国地区 3、外国地区 4、邮编
     */
    private Integer type;
    /**
     * 国家
     */
    private String country;
    /**
     * 地区的id，当type为国家或邮编时为NULL
     */
    private String areaId;
    /**
     * 邮编开始
     */
    private String startPostcode;
    /**
     * 邮编结束
     */
    private String endPostcode;
    /**
     * 预留字段，gis路径
     */
    private String polygon;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getQuotationId() {
        return quotationId;
    }

    public void setQuotationId(int quotationId) {
        this.quotationId = quotationId;
    }

    @Override
    public Integer getType() {
        return type;
    }

    @Override
    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String getCountry() {
        return country;
    }

    @Override
    public void setCountry(String country) {
        this.country = country;
    }

    @Override
    public String getAreaId() {
        return areaId;
    }

    @Override
    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public String getStartPostcode() {
        return startPostcode;
    }

    public void setStartPostcode(String startPostcode) {
        this.startPostcode = startPostcode;
    }

    public String getEndPostcode() {
        return endPostcode;
    }

    public void setEndPostcode(String endPostcode) {
        this.endPostcode = endPostcode;
    }

    @Override
    public String getPolygon() {
        return polygon;
    }

    public void setPolygon(String polygon) {
        this.polygon = polygon;
    }
}
